// Copyright (C) 2025, ZWSOFT Co., LTD.(Guangzhou)
// Licensed under the MIT License. See LICENSE in the project root for license information.

namespace TestClient.Domain;

internal static class ViewModelHelpers
{
    public static async Task<string> SelectEnt(VFAdapterWrapper wrapper, string filter)
    {
        var entId = await Task.Run(() =>
        {
            return wrapper.SelectionToId(filter);
        });
        return entId;
    }
}